package com.sur;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * ClassName: EurekaApplication
 * Description:
 */
@SpringBootApplication

@EnableEurekaClient // Spring cloud Eureka 客户端，自动将本服务注册到 Eureka Server 注册中心中
public class ProviderApplication  {
    public static void main(String[] args) {
       SpringApplication.run(ProviderApplication .class,args);
    }
}
